import { ref } from 'vue'
import { defineStore } from 'pinia'

export const useProfileStore = defineStore('profileContent', () => {
  const profileContent = ref('')
  const changeProfileContent = (input: string) => {
    profileContent.value = input
  }
  return { profileContent, changeProfileContent }
})

export const nickNameStore = defineStore('nickName', () => {
  const nickName = ref('')
  const changeNickName = (input: string) => {
    nickName.value = input
  }
  return { nickName, changeNickName }
})
